import service from '@/utils/request';
import config from '@/config/index.js';

const servletMap =[
    ['/order/user-assets/my-buy-exam','myBuyExam','get'],
    ['/order/user-assets/my-buy-asset','myBuyAsset','get'],
    ['/order/user-assets/my-subject-bank','myBank','get'],
]
let MyResourceApis = {};
for (let i in servletMap) {
	MyResourceApis[servletMap[i][1]] = function() {
		return service[servletMap[i][2]](servletMap[i][0], ...arguments);
	};
}

export default MyResourceApis